package com.seewintech.framework.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * @author by xiaoTian
 * @date 2022/6/14.
 */
@Data
public class Account implements Serializable {
    private static final long serialVersionUID = 1L;

    private Long id;

    private String name;

    private String password;

    /**
     * 盐值
     */
    private String salt;

    private Integer age;

    private Boolean deleted;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date updateTime;

    private String updateBy;

    private String createBy;

    private Date lastLoginTime;

}
